package com.dis.api.client;


import com.dis.pojo.vo.HospitalVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "resource-service")
public interface HospitalClient {

    /**
     * 根据ID查询医院
     *
     * @param id
     * @return
     */
    @GetMapping("/admin/hospital/id/{id}")
    HospitalVO getById(@PathVariable Long id);

}
